package cn.zjh.org.mapper;

import cn.zjh.org.vo.ShopVo;
import cn.zjh.org.domain.Shop;
import cn.zjh.base.mapper.BaseMapper;
import cn.zjh.org.domain.ShopAuditLog;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjh
 * @since 2022-07-01
 */
public interface ShopMapper extends BaseMapper<Shop> {

    //根据店铺名，查询店铺信息
    Shop loadByName(String name);

    //查询店铺报表数据
    List<ShopVo> loadEchartsData();

    //修改店铺状态为  通过
    void uptPassShopId(Long id);

    //修改店铺状态为  驳回
    void uptRejectShopId(Long id);

    List<ShopAuditLog> logForm(Long id);
}
